var t = getApp();

Page({
    data: {
        text: ""
    },
    bindinput: function(t) {
        this.setData({
            text: t.detail.value
        });
    },
    clickSave: function(n) {
        if (0 != this.data.text.length) {
            var a = getCurrentPages(), e = a[a.length - 2], o = {
                type: 2,
                text: this.data.text
            }, i = e.data.data;
            i = i.concat(o), e.setData({
                data: i
            }), wx.navigateBack({});
        } else t.util.showToast("请输入文字");
    },
    onLoad: function(t) {},
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {}
});